import Vue from 'vue';

import App from './App.vue';

import router from './router';

import store from './store';

import Particles from 'vue-particles';

import Element from 'element-ui';

import 'element-ui/lib/theme-chalk/index.css';

import '@/theme/index.scss';

import { i18n } from '@/i18n/index.js';

import { globalComponentSize } from '@/utils/componentSize.js';

import customComponents from '@/components/custom/install.js';

import customFilters from '@/components/filter.js';

Vue.use(Particles);

Vue.use(customComponents)

Vue.use(customFilters)

Vue.use(Element, { i18n: (key, value) => i18n.t(key, value), size: globalComponentSize });

Vue.config.productionTip = false;

Vue.prototype.bus = new Vue();

new Vue({
	router,
	store,
	i18n,
	render: (h) => h(App),
}).$mount('#app');
